<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.fc.data.*"%>
<%@ page import="com.jspsmart.upload.*"%>

<%
     String path = request.getRealPath("/");
     String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/";
     String filename = System.currentTimeMillis()+".xls";
     String realPath = path+"\\DownloadXls\\"+filename;
     String visitPath = basePath+"/DownloadXls/"+filename;
     Export.ExportMember(filename);
     
     SmartUpload smartUpload = new SmartUpload();
     smartUpload.initialize(pageContext);
     smartUpload.setContentDisposition(null);
     smartUpload.downloadFile(realPath);
     out.clear();
     out = pageContext.pushBody();
%>